home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 4989 < prev    next >
Encoding:
Text File  |  1996-08-05  |  966 b   |  24 lines

  1. Newsgroups: comp.sys.amiga.programmer
  2. Path: cix.compulink.co.uk!usenet
  3. From: jralph@cix.compulink.co.uk ("Jolyon Ralph")
  4. Subject: Re: Plugs Ins
  5. Message-ID: <Dnws3v.7o0@cix.compulink.co.uk>
  6. Organization: Compulink Information eXchange
  7. References: <Pine.SOL.3.91.960307160455.27918A@sirius>
  8. Date: Thu, 7 Mar 1996 17:47:55 GMT
  9. X-News-Software: Ameol32
  10.  
  11. > I am writing a program, and would like to use Plugin code.  How do you 
  12. > load an executable Amiga file, and what, point the program counter at 
  13. > it?  (I am writing in assembler)  Someone said something about 
  14. > LoadSeg() - Do I use this?
  15.  
  16. You don't want to do that! The easiest and best way to do plug-in code is 
  17. to use the amiga shared library format (ie. xxx.library - although you 
  18. don't have to call it that). We use that for all the modules in 
  19. Photogenics. It's easy to write, easy to call from your code, and the OS 
  20. handles caching them in RAM and flushing them when no longer needed for 
  21. you. 
  22.  
  23. Jolyon
  24.